package com.cgwx.data.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

@AllArgsConstructor
@Data
@Getter
@Setter
public class NpjReportDto {

	private String id;

	@ApiModelProperty(value = "报告文件关联信息id")
	private String npjReportInfoId;

	@ApiModelProperty(value = "所属部门")
	private String deptName;

	@ApiModelProperty(value = "bind流程单")
	private String flowId;

	@ApiModelProperty(value = "文件类别")
	private String type;

	@ApiModelProperty(value = "所属文件夹")
	private String filePath;

	@ApiModelProperty(value = "创建人工号")
	private String cjAccount;

	@ApiModelProperty(value = "创建人姓名")
	private String cjName;

	@ApiModelProperty(value = "多版本文件创建时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp infoCreatedTime;

	@ApiModelProperty(value = "多版本文件修改时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp infoModifiedTime;

	@ApiModelProperty(value = "对应文件系统file_id")
	private String fileId;

	@ApiModelProperty(value = "对应文件系统file_url")
	private String fileUrl;

	@ApiModelProperty(value = "状态")
	private String status;

	@ApiModelProperty(value = "对应文件系统实体id")
	private String entityId;

	@ApiModelProperty(value = "编写人工号")
	private String bxAccount;

	@ApiModelProperty(value = "编写人姓名")
	private String bxName;

	@ApiModelProperty(value = "文件更改单")
	private String fileChange;

	@ApiModelProperty(value = "报告标题")
	private String reportTitle;

	@ApiModelProperty(value = "密级")
	private String secretLevel;

	@ApiModelProperty(value = "页数")
	private String page;

	@ApiModelProperty(value = "校对工号")
	private String jdAccount;

	@ApiModelProperty(value = "校对姓名")
	private String jdName;

	@ApiModelProperty(value = "标审工号")
	private String bsAccount;

	@ApiModelProperty(value = "标审姓名")
	private String bsName;

	@ApiModelProperty(value = "审核工号")
	private String shAccount;

	@ApiModelProperty(value = "审核姓名")
	private String shName;

	@ApiModelProperty(value = "批准工号")
	private String pzAccount;

	@ApiModelProperty(value = "批准姓名")
	private String pzName;

	@ApiModelProperty(value = "会签工号")
	private String hqAccounts;

	@ApiModelProperty(value = "会签姓名")
	private String hqNames;

	@ApiModelProperty(value = "代替文件id")
	private String replaceFileId;

	@ApiModelProperty(value = "生成文件url")
	private String originalFileLink;

	@ApiModelProperty(value = "流程创建时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp flowCreatedTime;

	@ApiModelProperty(value = "流程修改时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp flowModifiedTime;

	@ApiModelProperty(value = "编写时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp bxTime;

	@ApiModelProperty(value = "创建人时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp cjTime;

	@ApiModelProperty(value = "校对时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp jdTime;

	@ApiModelProperty(value = "标审时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp bsTime;

	@ApiModelProperty(value = "审核时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp shTime;

	@ApiModelProperty(value = "批准时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp pzTime;

	@ApiModelProperty(value = "会签时间")
	private String hqTimes;

	@ApiModelProperty(value = "创建人部门")
	private String cjDeptId;

	@ApiModelProperty(value = "新版本号")
	private String versionId;

	@ApiModelProperty(value = "复核复算工号")
	private String fhfsAccount;

	@ApiModelProperty(value = "复核复算姓名")
	private String fhfsName;

	@ApiModelProperty(value = "复核复算时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Timestamp fhfsTime;

	@ApiModelProperty(value = "文件类型")
	private String fileType;

	@ApiModelProperty(value = "文件编号")
	private String fileNum;

	@ApiModelProperty(value = "流程实例id")
	private String relationId;

	@ApiModelProperty(value = "草稿id")
	private String draftId;

	@ApiModelProperty(value = "文件状态")
	private String fileStatus;

	@ApiModelProperty(value = "原始文件名称")
	private String originalFileName;

	@ApiModelProperty(value = "管理类/报告类")
	private String flowType;

	@ApiModelProperty(value = "审批流数据")
	private String flowData;

	@ApiModelProperty(value = "文件更改单名称")
	private String changeFileName;

	@ApiModelProperty(value = "权限")
	private String authorityLevel;

	@ApiModelProperty(value = "sort")
	private String sort;

	@ApiModelProperty(value = "column")
	private String column;

	@ApiModelProperty(value = "文件更改单信息")
	private String changeInfo;

	@ApiModelProperty(value = "文件更改单编号")
	private String changeFileNum;

	public NpjReportDto() {

	}

	@Override
	public String toString() {
		return "NpjReportDto{" +
				"id='" + id + '\'' +
				", npjReportInfoId='" + npjReportInfoId + '\'' +
				", deptName='" + deptName + '\'' +
				", flowId='" + flowId + '\'' +
				", type='" + type + '\'' +
				", filePath='" + filePath + '\'' +
				", cjAccount='" + cjAccount + '\'' +
				", cjName='" + cjName + '\'' +
				", infoCreatedTime=" + infoCreatedTime +
				", infoModifiedTime=" + infoModifiedTime +
				", fileId='" + fileId + '\'' +
				", fileUrl='" + fileUrl + '\'' +
				", status='" + status + '\'' +
				", entityId='" + entityId + '\'' +
				", bxAccount='" + bxAccount + '\'' +
				", bxName='" + bxName + '\'' +
				", fileChange='" + fileChange + '\'' +
				", reportTitle='" + reportTitle + '\'' +
				", secretLevel='" + secretLevel + '\'' +
				", page='" + page + '\'' +
				", jdAccount='" + jdAccount + '\'' +
				", jdName='" + jdName + '\'' +
				", bsAccount='" + bsAccount + '\'' +
				", bsName='" + bsName + '\'' +
				", shAccount='" + shAccount + '\'' +
				", shName='" + shName + '\'' +
				", pzAccount='" + pzAccount + '\'' +
				", pzName='" + pzName + '\'' +
				", hqAccounts='" + hqAccounts + '\'' +
				", hqNames='" + hqNames + '\'' +
				", replaceFileId='" + replaceFileId + '\'' +
				", originalFileLink='" + originalFileLink + '\'' +
				", flowCreatedTime=" + flowCreatedTime +
				", flowModifiedTime=" + flowModifiedTime +
				", bxTime=" + bxTime +
				", cjTime=" + cjTime +
				", jdTime=" + jdTime +
				", bsTime=" + bsTime +
				", shTime=" + shTime +
				", pzTime=" + pzTime +
				", hqTimes='" + hqTimes + '\'' +
				", cjDeptId='" + cjDeptId + '\'' +
				", versionId='" + versionId + '\'' +
				", fhfsAccount='" + fhfsAccount + '\'' +
				", fhfsName='" + fhfsName + '\'' +
				", fhfsTime=" + fhfsTime +
				", fileType='" + fileType + '\'' +
				", fileNum='" + fileNum + '\'' +
				", relationId='" + relationId + '\'' +
				", draftId='" + draftId + '\'' +
				", fileStatus='" + fileStatus + '\'' +
				", originalFileName='" + originalFileName + '\'' +
				", flowType='" + flowType + '\'' +
				", flowData='" + flowData + '\'' +
				", changeFileName='" + changeFileName + '\'' +
				", authorityLevel='" + authorityLevel + '\'' +
				", sort='" + sort + '\'' +
				", column='" + column + '\'' +
				", changeInfo='" + changeInfo + '\'' +
				", changeFileNum='" + changeFileNum + '\'' +
				'}';
	}
}
